using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RamaSoft.PDVenda
{
    public partial class Erros : Form
    {
        public static ListBox listErros = new ListBox() ;

        public Erros()
        {
            InitializeComponent();
        }

        private void cmdVoltar_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Erros_Load(object sender, EventArgs e)
        {
            listErros.Location = new Point(70, 85);
            listErros.Size = new Size(380, 285);
            Font myFont = new Font("Microsoft Sans Serif", 10, FontStyle.Bold);
            listErros.Font = myFont;
            listErros.BackColor = System.Drawing.SystemColors.Control;   
            listErros.Visible = true;
            listErros.Parent = boxErros; 
            this.boxErros.Controls.Add(listErros);
        }
    }
}